﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../static/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="../static/js/jquery.js"></script>
    <script>
        function quit(){
            var user = JSON.parse(localStorage.getItem("user"));
            var id = user.uid;
            $.ajax({
                url:"quit",
                type:"POST",
                dataType:"JSON",
                data:{id:id},
                success:function (data){
                    alert(data);
                },
                error:function (){
                    alert("退出失败");
                }
            });
        }
    </script>
</head>

<body style="background:url(../static/images/topbg.gif) repeat-x;">
    <div class="topleft">
    	<a href="main.html" target="_parent"><img src="../static/images/logo.png" title="系统首页"/></a>
    </div>
            
    <div class="topright">
     
    <div class="user">
        <span>管理员</span>
        <i><a href="login" target="_parent" onclick="quit()">退出</a></i>
    </div>    
    
    </div>

</body>

</html>
